package com.ktg.ktgcommon.domain.wms;

import com.ktg.ktgcommon.query.BaseQuery;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class WmWarehouse extends BaseQuery {

  private Long warehouseId;
  private String warehouseCode;
  private String warehouseName;
  private String location;
  private Double area; // Changed to wrapper type
  private String charge;
  private String enableFlag;
  private String remark;
  private String attr1;
  private String attr2;
  private Long attr3; // Changed to wrapper type
  private Long attr4; // Changed to wrapper type
  private String createBy;

  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date createTime;

  private String updateBy;

  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date updateTime;
}